code {
  font-family: Consolas;
  border-radius: 4px;
  white-space: pre;
  line-height: 1.5;
  word-break: break-all;
  scrollbar-width: thin;
}
pre {
  position: relative; /* 确保 pre 元素作为定位参考 */
}
.copy-button {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.8;
  z-index: 1; /* 确保按钮显示在代码块上方 */
}
.copy-button:hover {
  opacity: 1;
}
p {
  min-height: 1.5em; /* 设置最小高度，确保即使没有内容也有高度 */
}
/* Markdown 表格样式 */
.markdown-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-family: Arial, sans-serif;
}
/* 表头样式 */
.markdown-table th {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  padding: 8px 12px;
  font-weight: bold;
  color: #333;
}
/* 单元格样式 */
.markdown-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  color: #555;
}
/* 交替行背景色 */
.markdown-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
/* 悬停效果 */
.markdown-table tr:hover {
  background-color: #f5f5f5;
  transition: background-color 0.2s;
}
/* 对齐方式 */
.markdown-table .align-center {
  text-align: center;
}
.markdown-table .align-right {
  text-align: right;
}
.markdown-table .align-left {
  text-align: left;
}
/*引用*/
blockquote {
  border-left: 4px solid #12ab77;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  color: rgb(106, 103, 103);
  background-color: #d0f7e9;
  margin: 10px 0px;
  border-radius: 5px;
}
